import { request } from '@umijs/max';

//更具商品Id获取商品详情
export async function getGoodsDetail(params: { id: number }) {
    return request('/api/goods/detail', {
        method: 'GET',
        params,
    });
}